package com.example.qihuibao.bean

import com.example.qihuibao.constant.Config
import com.example.qihuibao.constant.Global
import com.example.qihuibao.utils.CommonUtil
import com.example.qihuibao.utils.KTCommonUtils
import java.util.*

open class BaseReqBean(tranCode:String, version:String) {
    val TranCode: String = tranCode//交易代码
    val Version: String = version//版本号
    val TranDate: String = Global.dateFormat.format(Date())//交易日期yyyymmdd
    val TranTime: String = Global.timeFormat.format(Date())//交易时间hh24miss
    var SeqNo: String = UUID.randomUUID().toString()//每笔交易的唯一识别流水
    val CorpID: String = Global.CorpID//企业ID/设备商ID
    val ClientTpye: String = "1"//1:人脸识别终端,2:PC管理工具
    val ClientNo: String = KTCommonUtils.getDeviceSN()//人脸识别终端序列号/PC管理工具登录名
}